/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pt.ua.miect.sd.simuladorpesca.entities;

/**
 *  FishNet Cast by the boats
 * @author PedroA
 */
public class FishNet{
    private long fishCount;
    private String ownerId;
    private String company;

    public FishNet(Boat boat)
    {
        this.ownerId = boat.getId();
        this.company = boat.getCompanyId();
        fishCount = 0;
    }

    /**
     * @return the fishCount
     */
    public long getFishCount() {
        return fishCount;
    }

    /**
     * @param fishCount the fishCount to set
     */
    public void setFishCount(long fishCount) {
        this.fishCount = fishCount;
    }

    /**
     * @return the ownerId
     */
    public String getOwnerId() {
        return ownerId;
    }

    /**
     * @return the company
     */
    public String getCompany() {
        return company;
    }

}
